Function |as_ipv4

net/ip::|as_ipv4


Usage

|as_ipv4(ip)

Parameters

↳ ip: Ip (net/ip::Ip)

Return

↴ Option<Ipv4>


Get the IPv4 of generic IP.